package com.mz.ieann.doplayer.audio.widget

import android.content.Context
import android.graphics.drawable.Drawable
import android.util.AttributeSet
import android.view.View
import com.mz.ieann.doplayer.R

/**
 * <p>------------------------------------------------------
 * <p>Copyright (C) 2020 wasu company, All rights reserved.
 * <p>------------------------------------------------------
 * <p>
 * <p>
 *
 * @author Created by zhangmz
 * @date on 2023/5/26
 */
class CustomProgress @JvmOverloads constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyle: Int = 0)
: View(context, attrs, defStyle) {


    private var maxProgress: Int = 100
    private var curProgress: Int = 0
    private var cacheProgress: Int = 0

    private var maxHeight = context.resources.getDimensionPixelOffset(R.dimen.dp_5)
    private var maxWidth = context.resources.getDimensionPixelOffset(R.dimen.dp_5)

    private var thumb: Drawable? = null

    override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
        super.onMeasure(widthMeasureSpec, heightMeasureSpec)
    }


}